package com.snow.rbac.entity.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * All rights Reserved, Designed By www.cusc.com
 *
 * @author yanke
 * @Title: AddUserInfoDto
 * @Package com.snow.rbac.entity.dto
 * @Description:类描述
 * @Email yanke@cu-sc.com
 * @version: v1.0.0
 * @date: 2021/7/1/0001 17:12
 * @Copyright: 2021  www.faw.com.cn Inc. All rights reserved. <br/>
 * Modification History:<br/>
 * Date         Author          Version            Description<br/>
 * *---------------------------------------------------------*<br/>
 * 2021/7/1/0001     Administrator           v1.0.0               修改原因<br/>
 * @since JDK 1.8
 */
@Data
public class AddUserInfoDto {
    private static final long serialVersionUID = 1L;

    /**
     * 手机号
     */
    @NotEmpty(message = "用户名不能为空")
    private String username;

    /**
     * 姓名
     */
    private String name;

    /**
     * 密码
     */
    @NotEmpty(message = "密码不能为空")
    private String password;

    /**
     * 角色
     */
    private String role;

    /**
     * 是否管理员
     */
    private Integer isAdmin;
}
